package smartgrid.conf;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import smartgrid.Constants;

@XmlRootElement(name = Constants.TAG_PROVIDER)
public class ProviderConf {
	
	private String	className;
	
	private double	purchasePrice;
	
	private double	sellingPrice;
	
	
	public String getClassName() {
		return this.className;
	}
	
	
	@XmlElement(name = Constants.TAG_PROVIDER_CLASSNAME)
	public void setClassName(String className) {
		this.className = className;
	}
	
	
	public double getPurchasePrice() {
		return this.purchasePrice;
	}
	
	
	@XmlElement(name = Constants.TAG_PROVIDER_PURCHASE_PRICE)
	public void setPurchasePrice(double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	
	
	public double getSellingPrice() {
		return this.sellingPrice;
	}
	
	
	@XmlElement(name = Constants.TAG_PROVIDER_SELLING_PRICE)
	public void setSellingPrice(double sellingPrice) {
		this.sellingPrice = sellingPrice;
	}
}